runtime.workType.strongFromWeak (field)
12 uses
runtime (current package)
mgc.go#L201: lockInit(&work.strongFromWeak.lock, lockRankStrongFromWeakQueue)
mgc.go#L479: strongFromWeak struct {
mgc.go#L1038: work.strongFromWeak.block = true
mgc.go#L1155: work.strongFromWeak.block = false
mheap.go#L2423: if work.strongFromWeak.block {
mheap.go#L2485: for work.strongFromWeak.block {
mheap.go#L2486: lock(&work.strongFromWeak.lock)
mheap.go#L2490: work.strongFromWeak.q.pushBack(getg())
mheap.go#L2493: goparkunlock(&work.strongFromWeak.lock, waitReasonGCWeakToStrongWait, traceBlockGCWeakToStrongWait, 2)
mheap.go#L2509: lock(&work.strongFromWeak.lock)
mheap.go#L2510: list := work.strongFromWeak.q.popList()
mheap.go#L2512: unlock(&work.strongFromWeak.lock)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |